package com.dhl.facade;

/**
 * @title: Stereo
 * @Author danghailiang
 * @Date: 2022/8/10 8:03
 * @Version 1.0
 */
// 音响
public class Stereo {
    private static Stereo instance = new Stereo();
    private Stereo(){}
    public static Stereo getInstance(){
        return instance;
    }
    public void on(){
        System.out.println("打开音响");
    }
    public void off(){
        System.out.println("关闭音响");
    }
    public void setVolume(){
        System.out.println("设置音量");
    }
}
